home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
dev
/
e
/
amigae33a.lha
/
E_v3.3a
/
Src.lha
/
Src
/
Pd
/
oomodules
/
library.e
< prev
next >
Wrap
Text File
|
1995-02-05
|
408b
|
22 lines
OPT MODULE
OPT EXPORT
OBJECT library
base
ENDOBJECT
PROC open(name,version=NIL,dummy=NIL) OF library
/*
* Just opens a library and fills the entries. the dummy argument is needed for
* opne OF device uses three vars
*/
DEF base
IF(base := OpenLibrary(name,version))=NIL THEN Raise("LIB")
self.base := base
ENDPROC base
PROC close() OF library
IF self.base THEN CloseLibrary(self.base)
ENDPROC